﻿using System;
using System.Collections.Generic;
namespace Project.Domain.Entities
{
    public class User
    {
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Email { get; set; }
        public string LrAccount { get; set; }
        public decimal Balance { get; set; }
        public string Password { get; set; }
        public Guid ActiveCode { get; set; }
        public int NumPin { get; set; }
        public bool Active { get; set; }
        public string Roles { get; set; }
        public bool IsAdmin { get; set; }                
        public string Address { get; set; }
        public string Country { get; set; }
        public string Phone { get; set; }
        public string Sex { get; set; }
        public string BirthDay { get; set; }
        public DateTime CreatedTime { get; set; }              

        public virtual ICollection<SecurityLog> SecurityLogs { get; set; }
        public virtual ICollection<Deposit> Deposits { get; set; }
        public virtual ICollection<WithDraw> WithDraws { get; set; }
        public virtual ICollection<SecureUser> SecuUsers { get; set; }
        public virtual ICollection<Bet> Bets { get; set; }
        public virtual ICollection<Chat> Chats { get; set; }
    }
}
